#define _CRT_SECURE_NO_WARNINGS  1
#include<stdio.h>
void my_strcpy(char* a, char* b)
{
	int i = 0;
	while (a[i] != '\0')
	{
		b[i] = a[i];
		i++;
	}
	b[i] = '\0';
}
int main()
{

	char a[10] = "abcdef" ;
	char b[10];
	
	my_strcpy(a, b);
	printf("%s", b);
	return 0;
}